import { Routes, RouterModule }  from '@angular/router';
import {ArchivesComponent} from "./archives.component";

const routes:Routes = [
  {
    path: '',
    component: ArchivesComponent,
    children:[
      { path: 'weibao',  loadChildren: './weibao/weibao.module#WeibaoModule' },
      { path: 'info',  loadChildren: './info/info.module#InfoModule' },
    ]
  }
];

export const ArchivesRoute = RouterModule.forChild(routes);
